package com.zhangsun.newMvvm.handler;

import android.content.Context;
import android.widget.Toast;

import com.zhangsun.newMvvm.model.bean.UserBean;

public class UserEventHandlers {

    private Context context;

    public UserEventHandlers(Context context) {
        this.context = context;
    }

    public void onItemClick(UserBean user) {
        Toast.makeText(this.context, user.toString(), Toast.LENGTH_LONG).show();
    }

}
